Regular Expression to Finite Automata Union and Concatenation